package com.hifar.test.collectdata.pojo.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhuWeiWei
 * @description 设备运行记录时长统计
 * @date 2025/4/14 16:50
 */
@Data
@ApiModel("设备运行记录时长统计")
public class EquipRunRecordTimeVO {

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("记录时间")
    private Date recordTime;

    @ApiModelProperty("运行时长")
    private BigDecimal runTime;

    @ApiModelProperty("设备编号")
    private String equipCode;
}
